export interface SimpleRoleModel {
  id: string;
  name: string;
  homePageId: string;
}

export interface RoleListQueryParam {
  name: string;
}

export interface RoleListModel {
  createTime?: string;
  creatorName?: string;
  id: string;
  name: string;
  homePageId: string;
  homePageTitle: string;
  memo?: string;
}

export interface RoleSaveModel {
  name: string;
  homePageId: string;
  memo?: string;
}

export interface RoleUpdateModel {
  id: string;
  name: string;
  memo?: string;
  revision: string;
}

export interface RoleAuthorizeModel {
  id: string;
  permissions: Array<string | number>;
}
